﻿<%@ Page Title="" Language="C#" MasterPageFile="~/User/UC2.master" AutoEventWireup="true" CodeFile="UC2GiftOperate.aspx.cs" Inherits="User_UC2GiftOperate" %>
<%@ MasterType VirtualPath="~/User/UC2.master" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" Runat="Server">
    <script src="/js/lib/jquery1.4.2.min.js" type="text/javascript"></script>
    <script src="/js/xhr.js" type="text/javascript"></script>
    <script type="text/javascript" language="javascript">
        $(function ()
        {
            loadselect("giftclass", "0", 2, 1, $("#giftclass").attr("dv1"));
        });
    </script>
<form id="webform" runat="server">
    <div class="userright">
        <div class="title">产品信息管理</div>
        
<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0" class="maintop">
  <tr>
    <td width="89%" height="45" align="left" class="usertitle">
        <asp:Literal ID="ltTitle" runat="server" Text="新增产品"></asp:Literal></td>
  </tr>
  <tr>
    <td>
      <table width="100%" align="center" border="0" cellpadding="10" cellspacing="10" style="margin:10px">
        <tbody>
          <tr>
            <td align="left" colspan="2">
            产品名称：<br />
                <asp:TextBox ID="tbxName" runat="server" MaxLength="50" Width="300"></asp:TextBox><font color="red">*</font>
            </td>
          </tr>
          <tr>
            <td align="left" colspan="2">
            所属类别：<br />
                <em><input id="giftclass" name="giftclass" type="hidden" <%=productclass %> /></em>
            </td>
          </tr>
          <tr>
            <td align="left">
            自定义分类：<br />
                <asp:DropDownList ID="ddlGiftType" runat="server">
                </asp:DropDownList>
            </td>
            <td rowspan="5" valign="top">
                <asp:Panel ID="pnUpPic" runat="server">
                
            上传图片：<br />
                <div style="margin:10px 0;">
                    <asp:Image ID="imgPic1" runat="server" Width="80px" Visible="false" /><br />
                <asp:FileUpload ID="fupPic1" runat="server" />
                </div>
                <div style="margin:10px 0;">
                <asp:Image ID="imgPic2" runat="server" Width="80px" Visible="false" /><br />
                <asp:FileUpload ID="fupPic2" runat="server" />
                </div>
                <div style="margin:10px 0;">
                <asp:Image ID="imgPic3" runat="server" Width="80px" Visible="false" /><br />
                <asp:FileUpload ID="fupPic3" runat="server" />
                </div>
                <div style="margin:10px 0;">
                <asp:Image ID="imgPic4" runat="server" Width="80px" Visible="false" /><br />
                <asp:FileUpload ID="fupPic4" runat="server" />
                </div>
                <div style="margin:10px 0;">
                <asp:Image ID="imgPic5" runat="server" Width="80px" Visible="false" /><br />
                <asp:FileUpload ID="fupPic5" runat="server" />
                </div>
                </asp:Panel>
            </td>
          </tr>
          <tr>
            <td align="left">
            价格区间：<br />
                <asp:DropDownList ID="ddlPriceSpan" runat="server">
                </asp:DropDownList>
            </td>
          </tr>
          <tr>
            <td align="left">
            单位：<br />
                <asp:TextBox ID="tbxUnit" runat="server"></asp:TextBox>
            </td>
          </tr>
          <tr>
            <td align="left">
            最小起订量：<br />
                <asp:TextBox ID="tbxMinOrder" runat="server" Text="0"></asp:TextBox>注：（0为无限量，只能填数字）
            </td>
          </tr>
          <tr>
            <td align="left">
            出货时间：<br />
                <asp:TextBox ID="tbxOuterTime" runat="server" MaxLength="16" Text="7"></asp:TextBox>天
            </td>
          </tr>
          <tr>
            <td align="left">
            产品包装：<br />
                <asp:TextBox ID="tbxGiftPack" runat="server" MaxLength="16"></asp:TextBox>如：彩装
            </td>
            <td align="left">
            产品材质：<br />
                <asp:TextBox ID="tbxMaterial" runat="server" MaxLength="16"></asp:TextBox>如：不锈钢
            </td>
          </tr>
          <tr>
            <td align="left">
            产品尺寸：<br />
                <asp:TextBox ID="tbxGiftSize" runat="server" MaxLength="20"></asp:TextBox>如：19*12.5*8cm
            </td>
            <td align="left">
            装箱数量：<br />
                <asp:TextBox ID="tbxPackingNum" runat="server" MaxLength="4"></asp:TextBox>
            </td>
          </tr>
          <tr>
            <td align="left" colspan="2">
            说明：<br />
            <FCKeditorV2:FCKeditor ID="fckInfo" runat="server" BasePath="~/fckeditor/" Height="300px"></FCKeditorV2:FCKeditor>
            </td>
          </tr>
          <tr>
            <td>
                <asp:HiddenField ID="hfdFromUrl" runat="server" />
                <asp:Button ID="btnSave" runat="server" Text=" 提 交 " onclick="btnSave_Click" />
            </td>
          </tr>
        </tbody>
      </table>
      </td>
  </tr>
</table>
    </div>
</form>
</asp:Content>

